<!doctype html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<form action="/book/save" method="post">
    <label>ID</label>
    <input type="text" name="id" readonly th:value="${book.id}">
    <label>Name</label>
    <input type="text" name="name"  th:value="${book.name}">
    <label>Author</label>
    <input type="text" name="author"  th:value="${book.author}">
    <input type="submit" value="更新">
</form>

</body>
</html>